package com.violet.domain.vo.app;

import com.violet.annotation.transition.TBooleanString;
import com.violet.annotation.transition.TImagePrefix;
import com.violet.domain.vo.VO;
import lombok.Data;

@Data
public class UnProductVo implements VO {
    private String id;
    private String name;
    private String description;
    private Double currentPrice;
    private Double originalPrice;
    private String unit;
    private Integer stock;

    @TImagePrefix
    private String image;

    @TBooleanString(trueValue = "stockOut", falseValue = "soldOut")
    private String status;
}
